# Maintainer: prash <prash.n.rao@gmail.com>

pkgname=acpica
#pkgver=20160527
#pkgver=20160729
pkgver=20160831
pkgrel=1
pkgdesc="An implementation of the ACPI specification. Contains tools like acpidump, iasl, acpixtract, etc."
url="https://www.acpica.org/"
arch=('x86_64' 'i686')
license=('GPL3')
depends=('glibc')
makedepends=('flex' 'bison')
conflicts=('iasl')


source=("https://acpica.org/sites/acpica/files/${pkgname}-unix-${pkgver}.tar.gz")


sha512sums=('2af6044adc9fcb63954c56bd4db4eabd2147132ba750a0255f5f2e51139f561c67d6daea5b25113e8c5c438f4db8082e8632be66dd21a471104d5b9d7604c5d6')

build() {
  cd "${srcdir}/${pkgname}-unix-${pkgver}"
  make
}

package() {
  cd "${srcdir}/${pkgname}-unix-${pkgver}"
  make DESTDIR=${pkgdir} install
}
